Wayland: not all screens are square
authorMatthias Clasen <mclasen@redhat.com>
Tue, 21 May 2013 11:49:15 +0000 (07:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 21 May 2013 11:50:22 +0000 (07:50 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=700737

gdk/wayland/gdkscreen-wayland.c

index 5d621bbb98964647e9e6b949323a683c027f8df0..c7a0fe36119828745c7f36e8d9cec80ead2b6648 100644 (file)
@@ -873,7 +873,7 @@ update_screen_size (GdkWaylandScreen *screen_wayland)
       screen_wayland->height != height)
     {
       screen_wayland->width = width;
-      screen_wayland->height = width;
+      screen_wayland->height = height;
       g_signal_emit_by_name (screen_wayland, "size-changed");
     }
 }